import type { BaseTableConfig } from '@/components/base-ui/base-table/type';

export const tableConfig: BaseTableConfig = {
    items: [
        {
            modelKey: 'equipmentNumber',
            columnProps: {
                label: '设备编码',
                width: 140
            }
        },
        {
            modelKey: 'deviceName',
            columnProps: {
                label: '设备名称',
                width: 200
            }
        },
        {
            modelKey: 'deviceType',
            columnProps: {
                label: '设备类型',
                width: 140
            }
        },
        {
            modelKey: 'workshopName',
            columnProps: {
                label: '所属车间',
                width: 140
            }
        },
        {
            modelKey: 'equipmentStatus',
            slotName: 'equipmentStatus',
            columnProps: {
                label: '设备状态',
                width: 140
            }
        }
    ],
    unAction: true,
    unSelection: true
};
